package com.example.questionnaire.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.questionnaire.pojo.DO.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {


    /**
     * 通过问卷id返回formid
     * @param token
     * @return
     */
    String selectQuestionnaireToken(@Param("token") String token);
    String selectAnswerNumber(@Param("token") String token);
    String selectStatus(@Param("token") String token);

}
